package cn.wonderland.system.service.impl;

import cn.wonderland.basic.service.impl.BaseServiceImpl;
import cn.wonderland.system.domain.Detail;
import cn.wonderland.system.mapper.DetailMapper;
import cn.wonderland.system.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DetailServiceImpl extends BaseServiceImpl<Detail> implements DetailService {

    @Autowired
    private DetailMapper detailMapper;

    @Override
    public List<Detail> findByTypesId(Long typesId) {
        return detailMapper.findByTypesId(typesId);
    }

    @Override
    public List<Detail> findHouseState() {
        return detailMapper.findHouseState();
    }

    @Override
    public List<Detail> findNurseState() {
        return detailMapper.findNurseState();
    }

    @Override
    public List<Detail> findBedState() {
        return detailMapper.findBedState();
    }

    @Override
    public List<Detail> findOldManSex() {
        return detailMapper.findOldManSex();
    }

    @Override
    public List<Detail> findOldManPhysical() {
        return detailMapper.findOldManPhysical();
    }

    @Override
    public List<Detail> findElevatorType() {
        return detailMapper.findElevatorType();
    }

    @Override
    public List<Detail> findDecorationType() {
        return detailMapper.findDecorationType();
    }

    @Override
    public List<Detail> findHousingType() {
        return detailMapper.findHousingType();
    }

    @Override
    public List<Detail> findMemberType() {
        return  detailMapper.findMemberType();
    }
}
